FILES=xml.o xmldict.o

all: $(FILES)
	cp xmldict.o ..

xmldict.o:
	$(CC) $(CFLAGS) -c xmldict.o
	
clean:
	rm -f *.o

check: 
	gcc -g -c xmldict.c -DTEST
	gcc -g -c -o dict.o ../dict.c -DNO_GUI
	gcc -g -c -o list.o ../list.c -DNO_GUI
	gcc -g -c -o xml.o ../xml.c -DNO_GUI
	gcc -g -o test xmldict.o dict.o list.o xml.o ../simple.c ../io.c ../thrd.c ../error.c -lm -DNO_GUI

#TODO:  Figure out how to combine these things into one static library!



